package com.wgl.express.mapper;

import com.wgl.express.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public List<User> selectAll();
    public User selectUserByName(@Param("username") String username);
    public int insertUser(User user);
    public int updateUser(User user);
    public List<User> selectPostBySid(@Param("sid")int sid);
    public int insertPackToPost(@Param("uid") int uid,@Param("pid") int pid);
}
